home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat4 / dmedia / avr.z / avr
Encoding:
Text File  |  1998-10-20  |  5.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. aaaavvvvrrrr((((4444))))                                                                  aaaavvvvrrrr((((4444))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      avr - Audio Visual Reseach File Format
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ddddmmmmeeeeddddiiiiaaaa////aaaauuuuddddiiiiooooffffiiiilllleeee....hhhh>>>>
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The Audio File Library currently supports 13 of the commonly found audio
  16.      file formats, i.e., is able to recognize, read, and write sample data and
  17.      header information to and from files in these formats.  It is important
  18.      not to confuse _s_a_m_p_l_e or _a_u_d_i_o _d_a_t_a _f_o_r_m_a_t_s with _f_i_l_e _f_o_r_m_a_t_s.  The
  19.      former refers to the bit-wise organization of the sound samples in the
  20.      file, i.e., whether the format is 8-bit integer or 16-bit unsigned, etc.
  21.      Audio file format refers to the structure of the _a_u_d_i_o _f_i_l_e _h_e_a_d_e_r, the
  22.      chunk of on-disk data which preceeds the samples and which provides
  23.      information about the file to the audio program.  A single audio file
  24.      format may support a large variety of sample formats.
  25.  
  26.      The AAAAuuuuddddiiiioooo VVVViiiissssuuuuaaaallll RRRReeeesssseeeeaaaarrrrcccchhhh FFFFiiiilllleeee FFFFoooorrrrmmmmaaaatttt ((((aaaavvvvrrrr)))) was developed for use on
  27.      Apple MacIntosh computers. It consists of a 128-byte header followed by a
  28.      contiguous block of binary data representing the sound samples.
  29.  
  30. DDDDAAAATTTTAAAA FFFFOOOORRRRMMMMAAAATTTT SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNNSSSS
  31.      SSSSaaaammmmpppplllleeee FFFFoooorrrrmmmmaaaattttssss::::
  32.           Two's complement integer (for 16-bit) and unsigned (for 8-bit) only.
  33.  
  34.      SSSSaaaammmmpppplllleeee WWWWiiiiddddtttthhhhssss::::
  35.           8 and 16 bit only (see above).
  36.  
  37.      BBBByyyytttteeee OOOOrrrrddddeeeerrrrssss::::
  38.           Always bigendian.
  39.  
  40.      CCCChhhhaaaannnnnnnneeeellll CCCCoooouuuunnnnttttssss::::
  41.           1 and 2 channels only.
  42.  
  43.      CCCCoooommmmpppprrrreeeessssssssiiiioooonnnn FFFFoooorrrrmmmmaaaattttssss::::
  44.           None supported by the AF.
  45.  
  46. FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTT SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNNSSSS
  47.      AVR file headers can contain additional information.
  48.  
  49.      IIIInnnnssssttttrrrruuuummmmeeeennnntttt CCCCoooonnnnffffiiiigggguuuurrrraaaattttiiiioooonnnnssss::::
  50.           Maximum of 1 allowed.  A single loop is allowed.  Instparams
  51.           associated with this inst:  AF_INST_MIDI_BASENOTE,
  52.           AF_INST_MIDI_LONOTE, and AF_INST_MIDI_HINOTE.  See
  53.           aaaaffffSSSSeeeettttIIIInnnnssssttttPPPPaaaarrrraaaammmmLLLLoooonnnngggg(3dm) for more information about these parameters.
  54.  
  55.      MMMMaaaarrrrkkkkeeeerrrrssss::::
  56.           Unlike AAAAIIIIFFFFFFFF(3dm) and WWWWAAAAVVVVEEEE(3dm) files, there is no direct association
  57.           between markers and loops.  However, for backwards compatibility, an
  58.           application may choose to specify loop start and end points via the
  59.           traditional AIFF-style method using mark id's (aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrtttt(3dm),
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. aaaavvvvrrrr((((4444))))                                                                  aaaavvvvrrrr((((4444))))
  71.  
  72.  
  73.  
  74.           etc.) or via the newer aaaaffffSSSSeeeettttLLLLooooooooppppSSSSttttaaaarrrrttttFFFFrrrraaaammmmeeee(3dm) and related
  75.           routines.  In both cases, _o_n_l_y the loop information will be written
  76.           out to the header because this format does not support markers.
  77.           Using the first-listed method, two markers are allowed, one for the
  78.           start location and one for the end point of the loop.
  79.  
  80.      MMMMiiiisssscccceeeellllllllaaaannnneeeeoooouuuussss CCCChhhhuuuunnnnkkkkssss::::
  81.  
  82.                AAAAFFFF____MMMMIIIISSSSCCCC____NNNNAAAAMMMMEEEE            name string
  83.  
  84. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  85.      afInitFileFormat(3dm), afGetFileFormat(3dm), afIntro(3dm),
  86.      afSetLoopStart(3dm), afSetLoopEnd(3dm)
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.